A literary agent is a person who represents writers and their works to publishers or other media outlets. They help authors by promoting, selling, and negotiating contracts for their books, as well as providing guidance on writing and editing.